isEmpty1(empty) -> true
isEmpty1(node2(l, r)) -> false
left1(empty) -> empty
left1(node2(l, r)) -> l
right1(empty) -> empty
right1(node2(l, r)) -> r
inc1(0) -> s1(0)
inc1(s1(x)) -> s1(inc1(x))
count2(n, x) -> if6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
if6(true, b, n, m, x, y) -> x
if6(false, false, n, m, x, y) -> count2(m, x)
if6(false, true, n, m, x, y) -> count2(n, y)
nrOfNodes1(n) -> count2(n, 0)
↳ QTRS
↳ DependencyPairsProof
isEmpty1(empty) -> true
isEmpty1(node2(l, r)) -> false
left1(empty) -> empty
left1(node2(l, r)) -> l
right1(empty) -> empty
right1(node2(l, r)) -> r
inc1(0) -> s1(0)
inc1(s1(x)) -> s1(inc1(x))
count2(n, x) -> if6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
if6(true, b, n, m, x, y) -> x
if6(false, false, n, m, x, y) -> count2(m, x)
if6(false, true, n, m, x, y) -> count2(n, y)
nrOfNodes1(n) -> count2(n, 0)
COUNT2(n, x) -> ISEMPTY1(left1(n))
NROFNODES1(n) -> COUNT2(n, 0)
COUNT2(n, x) -> LEFT1(n)
IF6(false, false, n, m, x, y) -> COUNT2(m, x)
COUNT2(n, x) -> INC1(x)
COUNT2(n, x) -> LEFT1(left1(n))
COUNT2(n, x) -> ISEMPTY1(n)
IF6(false, true, n, m, x, y) -> COUNT2(n, y)
COUNT2(n, x) -> IF6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
COUNT2(n, x) -> RIGHT1(n)
COUNT2(n, x) -> RIGHT1(left1(n))
INC1(s1(x)) -> INC1(x)
isEmpty1(empty) -> true
isEmpty1(node2(l, r)) -> false
left1(empty) -> empty
left1(node2(l, r)) -> l
right1(empty) -> empty
right1(node2(l, r)) -> r
inc1(0) -> s1(0)
inc1(s1(x)) -> s1(inc1(x))
count2(n, x) -> if6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
if6(true, b, n, m, x, y) -> x
if6(false, false, n, m, x, y) -> count2(m, x)
if6(false, true, n, m, x, y) -> count2(n, y)
nrOfNodes1(n) -> count2(n, 0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
COUNT2(n, x) -> ISEMPTY1(left1(n))
NROFNODES1(n) -> COUNT2(n, 0)
COUNT2(n, x) -> LEFT1(n)
IF6(false, false, n, m, x, y) -> COUNT2(m, x)
COUNT2(n, x) -> INC1(x)
COUNT2(n, x) -> LEFT1(left1(n))
COUNT2(n, x) -> ISEMPTY1(n)
IF6(false, true, n, m, x, y) -> COUNT2(n, y)
COUNT2(n, x) -> IF6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
COUNT2(n, x) -> RIGHT1(n)
COUNT2(n, x) -> RIGHT1(left1(n))
INC1(s1(x)) -> INC1(x)
isEmpty1(empty) -> true
isEmpty1(node2(l, r)) -> false
left1(empty) -> empty
left1(node2(l, r)) -> l
right1(empty) -> empty
right1(node2(l, r)) -> r
inc1(0) -> s1(0)
inc1(s1(x)) -> s1(inc1(x))
count2(n, x) -> if6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
if6(true, b, n, m, x, y) -> x
if6(false, false, n, m, x, y) -> count2(m, x)
if6(false, true, n, m, x, y) -> count2(n, y)
nrOfNodes1(n) -> count2(n, 0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
INC1(s1(x)) -> INC1(x)
isEmpty1(empty) -> true
isEmpty1(node2(l, r)) -> false
left1(empty) -> empty
left1(node2(l, r)) -> l
right1(empty) -> empty
right1(node2(l, r)) -> r
inc1(0) -> s1(0)
inc1(s1(x)) -> s1(inc1(x))
count2(n, x) -> if6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
if6(true, b, n, m, x, y) -> x
if6(false, false, n, m, x, y) -> count2(m, x)
if6(false, true, n, m, x, y) -> count2(n, y)
nrOfNodes1(n) -> count2(n, 0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
INC1(s1(x)) -> INC1(x)
POL( INC1(x1) ) = 2x1 + 3
POL( s1(x1) ) = 3x1 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
isEmpty1(empty) -> true
isEmpty1(node2(l, r)) -> false
left1(empty) -> empty
left1(node2(l, r)) -> l
right1(empty) -> empty
right1(node2(l, r)) -> r
inc1(0) -> s1(0)
inc1(s1(x)) -> s1(inc1(x))
count2(n, x) -> if6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
if6(true, b, n, m, x, y) -> x
if6(false, false, n, m, x, y) -> count2(m, x)
if6(false, true, n, m, x, y) -> count2(n, y)
nrOfNodes1(n) -> count2(n, 0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
IF6(false, false, n, m, x, y) -> COUNT2(m, x)
IF6(false, true, n, m, x, y) -> COUNT2(n, y)
COUNT2(n, x) -> IF6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
isEmpty1(empty) -> true
isEmpty1(node2(l, r)) -> false
left1(empty) -> empty
left1(node2(l, r)) -> l
right1(empty) -> empty
right1(node2(l, r)) -> r
inc1(0) -> s1(0)
inc1(s1(x)) -> s1(inc1(x))
count2(n, x) -> if6(isEmpty1(n), isEmpty1(left1(n)), right1(n), node2(left1(left1(n)), node2(right1(left1(n)), right1(n))), x, inc1(x))
if6(true, b, n, m, x, y) -> x
if6(false, false, n, m, x, y) -> count2(m, x)
if6(false, true, n, m, x, y) -> count2(n, y)
nrOfNodes1(n) -> count2(n, 0)